package ex7;
import java.util.*;
public class test3 {

	public static void main(String[] args) throws Exception {
		int i=Integer.parseInt("123");//将字符串转换成整形
		System.out.println(i);
         String str=Integer.toString(123);//相反
         System.out.println(str);
	}

}
